package Smallprogram.servict.impl;

import Smallprogram.dao.impl.UsersDaoImpl;
import Smallprogram.entiy.Users;
import Smallprogram.servict.UsersServlet;

import java.util.List;

public class UsersServletImpl implements UsersServlet {
    UsersDaoImpl use = new UsersDaoImpl();

    @Override
    public List<Users> selectusers() {
        return use.selectusers();
    }

    @Override
    public int updateysers(Users users) {
        return use.updateysers(users);
    }

    @Override
    public double selectbalance() {
        return use.selectbalance();
    }

    @Override
    public int selectuserpoints() {
        return use.selectuserpoints();
    }
}
